<!DOCTYPE html>
<html>

<head>
    <title></title>
    <style type="text/css">
        .current{
            background-color: #00625A !important;
        }
        .msg-mask {
            width: 100%;
            left: 0px;
            top: 0px;
            height: 100%;
            position: fixed;
            background-color: #333333;
            opacity: 0.5;
            display: none;
        }
    </style>

    <!--<link href="style/layout.css" rel="stylesheet" type="text/css">
    <link href="style/default.css" rel="stylesheet" type="text/css">
    <link href="style/iconfont.css" rel="stylesheet" type="text/css">
    <link href="style/skin.css" rel="stylesheet" type="text/css">-->

    <link href="/static/css/index.css" rel="stylesheet" type="text/css">
    <link href="/static/css/controls.css" rel="stylesheet" type="text/css">
</head>

<body ng-controller="TestCtrl">


    <div class="wrapper skin">
        <!--搜索边框多列联想输入校验-->
        <div class="section" style="padding-bottom: 100px">
            <div class="section_header">
                点击以下按钮 window.name设置对象值
            </div>
            <div class="section_body">
                按钮在此：<a type="button" class="btn dropdown-toggle" onclick="setValue()">
                            <i class="fi fi-search"></i>
                        </a>
            </div>
        </div>
        <!--搜索边框多列联想输入校验-->
    </div>
</body>


<script>
    var ctx = '';
    var basePath = '/gillion-web';
    var locale = 'zh-cn';

    var setValue =function(){
        window.name='{"username":"bb"}';
        alert('已经设置window.name的值为{"username":"bb"}');
    }


</script>


</html>
